package com.utc.fjc.command.newdr;

import org.eclipse.jface.wizard.WizardDialog;

import com.teamcenter.rac.ui.commands.create.bo.NewBOWizard;
import com.teamcenter.rac.util.SWTUIUtilities;

public class NewDRWizard extends NewBOWizard {

	public NewDRWizard(String arg0) {
		super(arg0);
	}

	protected void postSuccessfulFinish() {
		SWTUIUtilities.asyncExec(new Runnable() {
			public void run() {
				WizardDialog curWizardDialog = NewDRWizard.this
						.getWizardDialog();
				curWizardDialog.close();
			}
		});
	}

	public void setWizardDialog(WizardDialog wizarddialog) {
		super.setWizardDialog(wizarddialog);
		wizarddialog.getShell().setSize(750, 560);
	}
}
